<template>
<div class="main">
  <div class="box">
<!--    左边-->
    <div class="boxLeft">
      <h2>提问</h2>
    </div>
<!--    右边-->
    <div class="boxRight">
<!--      top发提问-->
      <div class="rightQuestion">
        <h2>Hi~XXXXXX</h2>
        <h4 class="h4Question">今天想写点什么？</h4>
      </div>
<!--      问答数据-->
      <div class="rightData">
        <h2>问答数据</h2>
      </div>
<!--      广告-->
      <div class="rightAd">
        <h2 style="color:rgba(255,255,255,0.49);text-align: center;top: 4px;">职来运转——找到自己</h2>
      </div>
<!--      热榜问题-->
      <div class="rightHotQuestion">
        <h2>热榜问题</h2>
      </div>
    </div>
  </div>
</div>
</template>
<script setup>

</script>


<style scoped>
* {
  margin: 0;
  padding: 0;
}
.main {
  width: 102%;
  height: 202vh;
  background: linear-gradient(-135deg, #6e20f3, #f1edf3, #807af5);
  background-size: 500% 500%;
  animation: moiveAnimation 10s infinite;
}
@keyframes moiveAnimation {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 90% 50%
  }
  100% {
    background-position: 0% 50%
  }
}
.box{
  width: 80%;
  height: 100%;
  margin:0 auto;
}
.boxLeft{
  width: 69%;
  height: 93.5%;
  margin-top: 2%;
  background-color: #ffffff;
  float: left;
  border-radius: 10px;
}
.boxRight{
  width: 29%;
  height: 100%;
  float: right;
  margin-top: 2%;
}
.rightQuestion{
  width: 100%;
  height: 150px;
  background-color: white;
  border-radius: 10px;
}
.rightData{
  width: 100%;
  height: 115px;
  background-color: white;
  margin-top: 5px;
  border-radius: 10px;
}
.rightAd{
    width: 100%;
  height: 170px;
  background-image: url("../../assets/img/forum/GG.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-top: 5px;
  border-radius: 10px;
}
.rightHotQuestion{
  width: 100%;
  height: 600px;
  background-color: white;
  margin-top: 5px;
  border-radius: 10px;
}
h2{
  color: #3e02a9;
  font-size: 25px;
  top: 20px;
  margin-left: 10px;
  font-family: Avenir, Helvetica, Arial, sans-serif;
}
.h4Question{
  color: rgba(93, 93, 93, 0.89);
  font-size: 17px;
  margin-left: 10px;
  font-family: Avenir, Helvetica, Arial, sans-serif;
}

</style>